Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||
1 |
castu.h Rd |
Rd[31:16] = 0; |
d ∈ {0, 1, …, 15} |
Rev1+ |
| ||||
2 |
castu.b Rd |
Rd[31:8] = 0: |
d ∈ {0, 1, …, 15} |
Rev1+ |
|
Zero extends the halfword or byte that is specified to word size. The result is stored back to the specified register.
Q: |
Not affected. |
V: |
Not affected. |
N: |
N = RES[31] |
Z: |
Z = (RES[31:0] == 0) |
C: |
C = RES[31] |